{% extends "base.html" %}
{% load i18n %}

{% block title %}{% trans "Your profile" %}{% endblock %}

{% block content %}
    <h1>{% trans "Your profile" %}</h1>

    <p>
        <ul>
        {% for i in object_list %} 
        <li>{{ i.username }} </li>
        {% endfor %}
	    </ul>
    </p>

    {% if paginator.num_pages > 1 %}
        {% if page_obj.has_previous %}
            <a href="/page{{ page_obj.previous_page_number }}/">&larr;</a>
        {% endif %}
        <span class="current_page">{{ paginator.number }}</span>
        {% if page_obj.has_next %}
            <a href="/page{{ page_obj.next_page_number }}">&rarr;</a>
        {% endif %}
    {% endif %}
   
{% endblock %}
